package com.mysecurity.service;

import com.mysecurity.pojo.Right;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 *
 */
public interface RightService extends IService<Right> {

    List<Right> getPermissionsByRoleId(Integer roleId);
}
